<?php
	$id=$_GET['id'];
	mysql_query("delete from tarif_abhp where id_ppk='$id'");
	mysql_query("delete from tarif_inacbg where id_ppk='$id'");
	mysql_query("delete from tarif_laboratorium where id_ppk='$id'");
	mysql_query("delete from tarif_layanan where id_ppk='$id'");
	mysql_query("delete from tarif_obat where id_ppk='$id'");
	mysql_query("delete from tarif_radiologi where id_ppk='$id'");
	mysql_query("delete from tarif_tindakan where id_ppk='$id'");
	mysql_query("delete from tarif_elektromedik where id_ppk='$id'");
	mysql_query("delete from tarif_rehabilitasi where id_ppk='$id'");
	$sql="delete from ppk where id_ppk='$id'";
	$qry=mysql_query($sql);
	$url_sukses='utama.php?module=mod_ppk';
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>